package com.zhehekeji.opsys.api.resp;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import com.zhehekeji.opsys.api.common.util.SuperResp;

/**
 * @author chenweiliu chenwei.liu@163.com
 * @ClassName GetContentListResp
 * @Description TODO
 * @date 2015-7-7   下午2:21:33
 */
@XmlRootElement
public class GetContentListResp extends SuperResp {

    /**
     * @Fields serialVersionUID : TODO
     */
    private static final long serialVersionUID = -4830533395498967775L;

    private Integer recordSize;
    List<ContentInfo> contentInfos;

    public Integer getRecordSize() {
        return recordSize;
    }

    public void setRecordSize(Integer recordSize) {
        this.recordSize = recordSize;
    }

    public List<ContentInfo> getContentInfos() {
        return contentInfos;
    }

    public void setContentInfos(List<ContentInfo> contentInfos) {
        this.contentInfos = contentInfos;
    }

    @Override
    public String toString() {
        return "GetContentListResp [recordSize=" + recordSize
                + ", contentInfos=" + contentInfos + ", getResultCode()="
                + getResultCode() + ", getResultDesc()=" + getResultDesc()
                + "]";
    }

    public static class ContentInfo implements Serializable {

        /**
         * @Fields serialVersionUID : TODO
         */
        private static final long serialVersionUID = -1957024771695058868L;

        private String code;
        private String name;
        private String searchName;
        private String elementType;
        private String director;
        private String actor;
        private String originalCountry;
        private String language;
        private String releaseYear;
        private String duration;
        private String description;
        private String programType;
        private Integer volumnCount;
        private Integer setNumber;
        private String parentCode;
        private String imgAddress;
        private String poster;
        private String thumbnail;
        private String recommendImg;
        private String playUrl;
        private String huaWeiPlayUrl;
        private String zhongXingPlayUrl;
        private String storeAddress;
        private String copyrightStartTime;
        private String copyrightEndTime;
        private String clarity;
        private String writers;
        private Double price;
        private String recommendSeries;
        private String huaWeiCode;
        /**
         * yyyyMMddHHmmss
         */
        private String createTime;
        private Integer status;
        private Long cpCode;
        private String stillImg;
        private String programID;
        private String movieID;
        private String mappingID;
        private String physicalContentID;
        private String parentName;
        private String productName;
        private String productCode;
        private Integer updateCount;
        private String tags;
        private Long cmdId;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getSearchName() {
            return searchName;
        }

        public void setSearchName(String searchName) {
            this.searchName = searchName;
        }

        public String getElementType() {
            return elementType;
        }

        public void setElementType(String elementType) {
            this.elementType = elementType;
        }

        public String getDirector() {
            return director;
        }

        public void setDirector(String director) {
            this.director = director;
        }

        public String getActor() {
            return actor;
        }

        public void setActor(String actor) {
            this.actor = actor;
        }

        public String getOriginalCountry() {
            return originalCountry;
        }

        public void setOriginalCountry(String originalCountry) {
            this.originalCountry = originalCountry;
        }

        public String getLanguage() {
            return language;
        }

        public void setLanguage(String language) {
            this.language = language;
        }

        public String getReleaseYear() {
            return releaseYear;
        }

        public void setReleaseYear(String releaseYear) {
            this.releaseYear = releaseYear;
        }

        public String getDuration() {
            return duration;
        }

        public void setDuration(String duration) {
            this.duration = duration;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getProgramType() {
            return programType;
        }

        public void setProgramType(String programType) {
            this.programType = programType;
        }

        public Integer getVolumnCount() {
            return volumnCount;
        }

        public void setVolumnCount(Integer volumnCount) {
            this.volumnCount = volumnCount;
        }

        public Integer getSetNumber() {
            return setNumber;
        }

        public void setSetNumber(Integer setNumber) {
            this.setNumber = setNumber;
        }

        public String getParentCode() {
            return parentCode;
        }

        public void setParentCode(String parentCode) {
            this.parentCode = parentCode;
        }

        public String getImgAddress() {
            return imgAddress;
        }

        public void setImgAddress(String imgAddress) {
            this.imgAddress = imgAddress;
        }

        public String getPoster() {
            return poster;
        }

        public void setPoster(String poster) {
            this.poster = poster;
        }

        public String getThumbnail() {
            return thumbnail;
        }

        public void setThumbnail(String thumbnail) {
            this.thumbnail = thumbnail;
        }

        public String getRecommendImg() {
            return recommendImg;
        }

        public void setRecommendImg(String recommendImg) {
            this.recommendImg = recommendImg;
        }

        public String getPlayUrl() {
            return playUrl;
        }

        public void setPlayUrl(String playUrl) {
            this.playUrl = playUrl;
        }

        public String getHuaWeiPlayUrl() {
            return huaWeiPlayUrl;
        }

        public void setHuaWeiPlayUrl(String huaWeiPlayUrl) {
            this.huaWeiPlayUrl = huaWeiPlayUrl;
        }

        public String getZhongXingPlayUrl() {
            return zhongXingPlayUrl;
        }

        public void setZhongXingPlayUrl(String zhongXingPlayUrl) {
            this.zhongXingPlayUrl = zhongXingPlayUrl;
        }

        public String getStoreAddress() {
            return storeAddress;
        }

        public void setStoreAddress(String storeAddress) {
            this.storeAddress = storeAddress;
        }

        public String getCopyrightStartTime() {
            return copyrightStartTime;
        }

        public void setCopyrightStartTime(String copyrightStartTime) {
            this.copyrightStartTime = copyrightStartTime;
        }

        public String getCopyrightEndTime() {
            return copyrightEndTime;
        }

        public void setCopyrightEndTime(String copyrightEndTime) {
            this.copyrightEndTime = copyrightEndTime;
        }

        public String getClarity() {
            return clarity;
        }

        public void setClarity(String clarity) {
            this.clarity = clarity;
        }

        public String getWriters() {
            return writers;
        }

        public void setWriters(String writers) {
            this.writers = writers;
        }

        public Double getPrice() {
            return price;
        }

        public void setPrice(Double price) {
            this.price = price;
        }

        public String getRecommendSeries() {
            return recommendSeries;
        }

        public void setRecommendSeries(String recommendSeries) {
            this.recommendSeries = recommendSeries;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public Long getCpCode() {
            return cpCode;
        }

        public void setCpCode(Long cpCode) {
            this.cpCode = cpCode;
        }

        public String getStillImg() {
            return stillImg;
        }

        public void setStillImg(String stillImg) {
            this.stillImg = stillImg;
        }

        public String getProgramID() {
            return programID;
        }

        public void setProgramID(String programID) {
            this.programID = programID;
        }

        public String getMovieID() {
            return movieID;
        }

        public void setMovieID(String movieID) {
            this.movieID = movieID;
        }

        public String getMappingID() {
            return mappingID;
        }

        public void setMappingID(String mappingID) {
            this.mappingID = mappingID;
        }

        public String getPhysicalContentID() {
            return physicalContentID;
        }

        public void setPhysicalContentID(String physicalContentID) {
            this.physicalContentID = physicalContentID;
        }

        public String getParentName() {
            return parentName;
        }

        public void setParentName(String parentName) {
            this.parentName = parentName;
        }

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        public String getProductCode() {
            return productCode;
        }

        public void setProductCode(String productCode) {
            this.productCode = productCode;
        }

        public Integer getUpdateCount() {
            return updateCount;
        }

        public void setUpdateCount(Integer updateCount) {
            this.updateCount = updateCount;
        }

        public String getHuaWeiCode() {
			return huaWeiCode;
		}

		public void setHuaWeiCode(String huaWeiCode) {
			this.huaWeiCode = huaWeiCode;
		}

		public String getTags() {
			return tags;
		}

		public void setTags(String tags) {
			this.tags = tags;
		}

		public Long getCmdId() {
			return cmdId;
		}

		public void setCmdId(Long cmdId) {
			this.cmdId = cmdId;
		}

		@Override
        public String toString() {
            return "ContentInfo [code=" + code + ", name=" + name + "]";
        }
    }
}
